// Copyright 2019 JDAI Inc.
// License ()
// Author:  XXXXXXX (), XXXX@jd.com
// Filename:  ISocketAdaptee.h
// Description:
// Created:  08/27/21 16:18:26
// Version:  1.0
// Company:  JDAI
#ifndef ISocketAdaptee_H_
#define ISocketAdaptee_H_
#include <memory>
#include <string>
#include <iostream>
#include "ISocket.h"

using std::shared_ptr;

class ISocketAdaptee;
typedef shared_ptr < ISocketAdaptee > ISocketAdapteeSPtr;

class ISocketAdaptee {
public:
    ISocketAdaptee();
    ~ISocketAdaptee();
    bool SetSocket(ISocketSPtr socket);

protected:
    ISocketSPtr mspSocket;  //插排

};

#endif
